package com.safewind.model;

import java.util.Date;

public class AddressData {
	private String pkId;

	private String phoneNumber;

	private String name;

	private String groupId;

	private String groupName;

	private Date addTime;

	private Date updateTime;

	private String remark;

	public AddressData() {

	}

	public AddressData(Address add, String groupName) {
		this.pkId = add.getPkId();
		this.phoneNumber = add.getPhoneNumber();
		this.name = add.getName();
		this.groupId = add.getGroupId();
		this.addTime = add.getAddTime();
		this.updateTime = add.getUpdateTime();
		this.remark = add.getRemark();
		this.groupName = groupName;
	}

	public String getPkId() {
		return pkId;
	}

	public void setPkId(String pkId) {
		this.pkId = pkId;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
}
